package com.wxtech.heartbeat.server.protocol;

public class DataCollectProtocolConstant {

	public static final String DATA_COLL_CMD_HEX = "01";
	public static final int DATA_MSG_ID = 1;
	public static final int TOTAL_LENGTH = 77;
	public static final String BIAOHAO = "00 01";

//	public static final int POS_OF_RECORD_TOTAL_NUM  = 1;
//	public static final int POS_OF_RECORD_SEQ  = 3;
//	public static final int POS_OF_MSG_ID = 0;
	public static final int POS_OF_TOTAL = 1;
	public static final int POS_OF_BIAOHAO = 2;
	
	public static final int POS_OF_DEVICE_ID = 4;
	public static final int POS_OF_DATETIME = 12;
	public static final int POS_OF_CUMU_GONG_AMOUNT = 18;//流量计累计工况流量
	public static final int POS_OF_CUMU_BIAO_AMOUNT = 22;//流量计累计标况流量
	public static final int POS_OF_TEMPERATURE = 26;
	public static final int POS_OF_PRESSURE = 30;
	public static final int POS_OF_INTER_FWD_CHANNEL_SNR = 34;//中间正向通道信噪比(u8) intermediate_forward_channel_snr
	public static final int POS_OF_INTER_RVS_CHANNEL_SNR = 35;//中间反向通道信噪比(u8)intermediate_reverse_channel_snr
	public static final int POS_OF_UP_FWD_CHANNEL_SNR = 36;//上正向通道信噪比(u8)upper_forward_channel_snr
	public static final int POS_OF_UP_RVS_CHANNEL_SNR = 37;//上反向通道信噪比(u8)upper_reverse_channel_snr
	public static final int POS_OF_LOW_FWD_CHANNEL_SNR = 38;//下正向通道信噪比(u8)lower_forward_channel_snr
	public static final int POS_OF_LOW_RVS_CHANNEL_SNR = 39;//下反向通道信噪比(u8)lower_reverse_channel_snr
	public static final int POS_OF_INTER_FWD_CHANNEL_GAIN = 40;//中间正向通道增益(u8)intermediate_forward_channel_gain
	public static final int POS_OF_INTER_RVS_CHANNEL_GAIN = 41;//中间反向通道增益(u8)intermediate_reverse_channel_gain
	
	public static final int POS_OF_UP_FWD_CHANNEL_GAIN = 42;//上正向通道增益(u8)upper_forward_channel_gain
	public static final int POS_OF_UP_RVS_CHANNEL_GAIN = 43;//上反向通道增益(u8)upper_reverse_channel_gain
	public static final int POS_OF_LOW_FWD_CHANNEL_GAIN = 44;//下正向通道增益(u8)lower_forward_channel_gain
	public static final int POS_OF_LOW_RVS_CHANNEL_GAIN = 45;//下反向通道增益(u8)lower_reverse_channel_gain
	public static final int POS_OF_UP_CHANNEL_SOUND_VELOCITY = 46;//上声道的声速(float)upper_channel_sound_velocity
	public static final int POS_OF_INTER_CHANNEL_SOUND_VELOCITY = 50;//中间声道的声速(float)intermediate_channel_sound_velocity
	public static final int POS_OF_LOW_CHANNEL_SOUND_VELOCITY = 54;//下声道的声速(float)lower_channel_sound_velocity
	public static final int POS_OF_UP_CHANNEL_FLOW_VELOCITY = 58;//上声道的流速(float)upper_channel_flow_velocity
	public static final int POS_OF_INTER_CHANNEL_FLOW_VELOCTIY = 62;//中间声道的流速(float)intermediate_channel_flow_velocity
	public static final int POS_OF_LOW_CHANNEL_FLOW_VELOCITY = 66;//下声道的流速(float)lower_channel_flow_velocity
	public static final int POS_OF_CURRENT_FLOW = 70;//流量计当月流量(float) current_flow
	public static final int POS_OF_BATTERY_STATUS = 74;//电池状况(u8)battery_status
}
